#用例类
from time import sleep
from selenium import webdriver
from Day17zy.Page import Page
import unittest

class cangshu(unittest.TestCase):
    def setUp(self) -> None:
        self.driver=webdriver.Edge()
        self.driver.maximize_window()

    def tearDown(self) -> None:
        self.driver.quit()
        sleep(10)

    def test_cangshu(self):
        po=Page(self.driver)
        po.text()


#执行
if __name__ == '__main__':
    unittest.main()